/** 文章模块 */
const router = require('koa-router')()

const { add, list } = require('../controllers/comment')

router.prefix('/api/comment')

router.post('/add', add);                     // 添加评论
router.get('/list', list);                    // 查询

module.exports = router
